<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>易商通运营平台</title>
    <script type="text/javascript" src="__PUBLIC__/libs/js/jquery.js"></script>
    <script type="text/javascript" src="__PUBLIC__/libs/js/framework.js"></script>
    <link href="__PUBLIC__/libs/css/import_basic.css" rel="stylesheet" type="text/css"/>
    <link rel="stylesheet" type="text/css" id="skin" prePath="__PUBLIC__/"/>
    <link rel="stylesheet" type="text/css" id="customSkin"/>
    <script type="text/javascript" src="__PUBLIC__/libs/js/form/datePicker/WdatePicker.js"></script>
    <script type="text/javascript" src="__PUBLIC__/libs/js/nav/pageNumber.js"></script>
    <style>body {
        background-color: #dbeefd
    }</style>
</head>
<body>
<div class="box1">
    <fieldset style="border-color:#999999;">
        <legend>人员修改</legend>
        <form action="__URL__/changeren" method="post">
            <table class="tableStyle">
                <tr>
                    <td> 用户名：</td>
                    <td>
                        <input type="text" name="username" value="{$employee['username']}"/>
                    </td>
                </tr>
                <tr>
                    <td> 密码：</td>
                    <td>
                        <input type="password" name="password" value=""/>
                        <span class="red">不修改请留空</span>
                    </td>
                </tr>

                <tr>
                    <td>姓名：</td>
                    <td>
                        <input type="hidden" name="id" value="{$employee['id']}"/>
                        <input type="text" name="name" value="{$employee['name']}"/></td>
                </tr>
                <tr>
                    <td>性别：</td>
                    <td><?php
if($employee['sex']==1){echo "男";}else{ echo "女";}
?>
                    </td>
                </tr>
                <tr>
                    <td>联系电话：</td>
                    <td><input type="text" name="telephone" value="{$employee['telephone']}"/></td>
                </tr>
                <tr>
                    <td>QQ ：</td>
                    <td><input type="text" name="qq" value="{$employee['qq']}"/></td>
                </tr>
                <tr>
                    <td> 地址：</td>
                    <td><input type="text" name="address" value="{$employee['address']}"/></td>
                </tr>
                <tr>
                    <td> 生日：</td>
                    <td>
                        <input type="text" name="birthday" value="{$employee['birthday']}"/>
                    </td>
                </tr>




                <tr>
                    <td> 人员状态：</td>
                    <td>
                        <select   name="active">
                            <option value="">选择</option>
                            <option value="1"
                            <?php
                            if($employee['active']) echo "selected";
                                ?>
                            >在职</option>
                            <option value="0"
                            <?php
                            if(!$employee['active']) echo "selected";
                                ?> >锁定</option>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td>部门：</td>
                    <td>

                        <select name="department">
                            <volist name="li" id="vo">
                                <option value="{$vo['id']}"
                                <?php
            $id=$employee['department'];
            if($id==$vo['id']){
            echo selected;
            }
        	 ?> >{$vo['name']}</option>
                            </volist>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td> 角色：</td>
                    <td>
                        <select name="role">
                            <volist name="list" id="vo">
                                <option value="{$vo['id']}"
                                <?php
            $id=$employee['role'];
            if($id==$vo['id']){
            echo selected;
            }
        	 ?> >{$vo['name']}</option>

                            </volist>
                        </select>
                    </td>
                </tr>

                <tr>
                    <td colspan="2"><input type="submit" name="" value="保存"/></td>
                </tr>
            </table>
            </form>
    </fieldset>
</div>
</body>
</html>